@mixin hidden-scroll {
  max-height: 100%;
  overflow-y: scroll;
  padding-right: 17px;
  width: 90%;
}

//设置文本省略号显示
@mixin ellipsis($lineCount){
  text-overflow: ellipsis;
  overflow : hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: $lineCount;
  -webkit-box-orient: vertical;
}
@mixin bgimg($url){
  background-image: url($url+"@2x.png");
  @media screen and (-webkit-min-device-pixel-ratio:3) {
    background-image: url($url+"@3x.png");
  }
}

@mixin border-bottom-1px($color) {
  position: relative;
  &::after{
    display: block;
    position: absolute;
    left:0;
    bottom: 0;
    width: 100%;
    border-top: 1px solid $color;
    content: ' ';
  }
}
@mixin border-top-1px($color){
  position:relative;
  &::before{
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    border-top: 1px solid $color;
    content: ' ';
  }
}
@mixin border-none(){
  &::after {
    display: none;
  }
}

